{ INFORMATICS.MCCME.RU
  Problem statement: http://informatics.mccme.ru/moodle/mod/statements/view3.php?chapterid=2951
  Verdict: Accepted
}
uses SysUtils, Math;
 
var
	a,b,n,k,ans:int64;
 
begin
reset(input,'input.txt');
rewrite(output,'output.txt');
read(a,b,n);
k:=a*100+b;
ans:=k*n;
write(ans div 100,' ', ans mod 100);
end.
 